The when expression can evaluate to any type. The values are compared using ==. In this case, the expression and values are strings.

You can learn more about this in:
Run Expand Edit